﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>没有权限</title>
    <style type="text/css">
    html,body{ height:100%; margin:0; } 
    #mainheight{ width:100%; height:100%; background:#f3f7fa; vertical-align:middle; line-height:100%; text-align:center }
    </style>

    <script language="javascript" type="text/javascript">
        function local(id,addid,color)
        {
            //var url= window.location.search;
            
            var url_arr=GetURLRequest(window.location.href).split('|');//获取当前页REQUEST集合，并存入数组。

            for(i=0;i<url_arr.length;i++)
            {
                alert('这是第'+i+'个REQUEST值：'+url_arr[i]);
            }
        }
        function localc()
        {
            //var url= window.location.search;
            
            var url_arr=GetURLRequest(window.location.href).split('|');//获取当前页REQUEST集合，并存入数组。
            return url_arr[0];
        }
        function GetURLRequest(Url)
        {
            var u,g,StrBack='',RETURNVALUE="";
            if(arguments[arguments.length-1]=="#"){u=Url.split("#");}else{u=Url.split("?");}
            if (u.length==1)g='';else g=u[1];
            if(g!='')
            {
               gg=g.split("&");
               var MaxI=gg.length;
               str = arguments[0]+"=";
               for(xm=0;xm<MaxI;xm++)
               {
                  if(gg[xm].indexOf(str)==0)
                  {
                      StrBack=gg[xm].replace(str,"");
                      break;
                  }
                  RETURNVALUE+=gg[xm].substring(gg[xm].indexOf('=')+1)+"|";
               }
             }
            return RETURNVALUE.substring(0,RETURNVALUE.length-1);
        } 
    </script>

    <script language="javascript" type="text/javascript">
        function GetUrl()
        {
            var currenthrefurl = window.location.href;
            var currhref = currenthrefurl.substr(currenthrefurl.indexOf("?"));
            var list = currhref.split("&");
            debugger;
            for(var i=0;i<list.length;i++)
            {
                var temp = list[i].split("=");
                alert(list[0]);
                if(temp[0] == "url")
                {
                    return temp[1]
                }
            }
            return "";
        }
        function ChangUrl()
        {
            var url = localc();
            window.location.href = url;
        }
        //alert(GetUrl());
        //setTimeout("ChangUrl()",5000);
    </script>

</head>
<body>
    <table id="mainheight">
        <tr>
            <td>
                <img src="../../images/Lau_images/sys_noaccredit.jpg" alt="unauthorized" /></td>
        </tr>
    </table>
</body>
</html>
